package _5_Create._5_1_Factory._5_1_0_SimpleFactory._0_;

import lombok.Data;
import lombok.extern.log4j.Log4j;

@Data
@Log4j
public class Apple implements Fruit {
    private int treeAge;

    @Override
    public void grow() {
        log.info("Apple is grouing");

    }

    @Override
    public void harvest() {
        log.info("Apple has been harvested");

    }

    @Override
    public void plant() {
        log.info("Apple has been planted");

    }
}
